setdisplay(320,200,32,1):paper(0xFFFFFF):ink(0x000000):pen(0x000000):cls
a$="The yellow cat jumped over the red dog"
prints("a$="+chr$(34)+a$+chr$(34))
b=rinstr(len(a$),a$,"y")
prints("b=rinstr(1,a$,\"y\")="+str$(b))
waitkey